#import "AlchemyHopeCell.h"


@implementation AlchemyHopeCell

- (instancetype)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier {
	self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
	if (self) {

		self.selectionStyle = UITableViewCellSelectionStyleNone;
		//self.contentView.backgroundColor = UIColor.whiteColor;

		//: 初始化UI布局
		[self velvetInitUIKit];
	}
	return self;
}

- (void)setQuirkFlourishQuicksilver:(AlchemyHopeModel *)quirkFlourishQuicksilver {
	_quirkFlourishQuicksilver = quirkFlourishQuicksilver;

	//: 配置cell的UI



}
- (UITextView *)upliftTerrainTextView {
	if (!_upliftTerrainTextView) {
	
        _upliftTerrainTextView = [UITextView new];
        _upliftTerrainTextView.frame = CGRectMake(21, 11, 125, 164);
	}
	return _upliftTerrainTextView;
}

- (UIImageView *)radiateMotionImageView {
	if (!_radiateMotionImageView) {
	
        _radiateMotionImageView = [[UIImageView alloc] init];
        _radiateMotionImageView.contentMode = UIViewContentModeScaleAspectFill;
        _radiateMotionImageView.clipsToBounds = YES;
        _radiateMotionImageView.layer.cornerRadius = 9;
        _radiateMotionImageView.layer.masksToBounds = YES;
        _radiateMotionImageView.frame = CGRectMake(7, 48, 193, 41);
        UIImage *xenophobeElevateConquer = [UIImage imageNamed:@"images/image_3.png"];
        if (xenophobeElevateConquer) {
	        _radiateMotionImageView.image = xenophobeElevateConquer;
        }
	}
	return _radiateMotionImageView;
}

//: 设置_diligentArchiveImageView的圆角
+ (void)riddleXenialTranquil:(UIImageView *)jeopardyPeaceful wandererBinaryUnderwater:(CGFloat)xenophileJuggle {
	jeopardyPeaceful.layer.cornerRadius = xenophileJuggle;
	jeopardyPeaceful.layer.masksToBounds = YES;
}

- (UIImageView *)diligentArchiveImageView {
	if (!_diligentArchiveImageView) {
	
        _diligentArchiveImageView = [[UIImageView alloc] initWithFrame:CGRectZero];
        _diligentArchiveImageView.contentMode = UIViewContentModeScaleAspectFill;
        _diligentArchiveImageView.clipsToBounds = YES;
        //: UIImageView的骚操作 充数
        [AlchemyHopeCell riddleXenialTranquil:_diligentArchiveImageView wandererBinaryUnderwater:12];
        UIImage *infiniteJoyous = [UIImage imageNamed:@"images/image_4.png"];
        if (infiniteJoyous) {
	        _diligentArchiveImageView.image = infiniteJoyous;
        }
	}
	return _diligentArchiveImageView;
}

- (void)velvetInitUIKit {

    //: 描述_0
    self.quixoticUmbraView = [[UIView alloc] initWithFrame:CGRectZero];
    [self.contentView addSubview:self.quixoticUmbraView];
	[self.quixoticUmbraView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(159);
		make.height.mas_equalTo(73);
		make.top.equalTo(@(20));
		make.bottom.equalTo(@(30));
	}];

	//: 描述_1
	[self.contentView addSubview:self.upliftTerrainTextView];


    //: 描述_2
    UITextView *fableRippleBrighten = [[UITextView alloc] initWithFrame:CGRectZero];
    self.peacefulInspireVowTextView = fableRippleBrighten;
    [self.contentView addSubview:fableRippleBrighten];
	[self.peacefulInspireVowTextView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(119);
		make.height.mas_equalTo(75);
		make.bottom.equalTo(@(27));
	}];

	//: 描述_3
	[self.contentView addSubview:self.radiateMotionImageView];

	//: 描述_4
	[self.contentView addSubview:self.diligentArchiveImageView];
	[self.diligentArchiveImageView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(89);
		make.height.mas_equalTo(38);
		make.bottom.equalTo(@(29));
	}];
}


@end